#include<stdio.h>
int main()
{
	int n;
	scanf("%d",&n);
	int arr[10];
	for(int j = 0;j<n;j++)
	{
		scanf("%d",&arr[j]);
	}
	int left = 0;
	int right = n - 1;
	while(left<right)
	{
		int temp = arr[left];
		arr[left] = arr[right];
		arr[right] = temp;
		left++;
		right--;
	}
	for(int i =0;i<n;i++)
	{
		printf("%4d",arr[i]);
	}
	printf("\n");
	return 0;
}
